package com.fly.wound.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {
    private Long id;
    private String name;
    private Integer age;
    private String email;
    private Long managerId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    //版本
    private Integer version;
    //逻辑删除标识(0:未删除 1:已删除)
    @TableLogic
    @TableField(select = false)
    private Integer deleted;
}
